import java.io.*;
        import java.util.Scanner;
        
public class CMDLesen {
        
          public static void main( String[] args ) throws IOException
          {
//          ProcessBuilder builder = new ProcessBuilder( "cmd", "/c", "ipconfig/all");
//          builder.directory( new File("c:/") );
//          Process p = builder.start();
            Scanner s = new Scanner( "Hallo.....: IchBinDerGesuchteWert" ).useDelimiter("\\Z,\\.");
            while(s.hasNext()){
                System.out.println(s.next());
                
            }
            String n = ("Hallo.....: IchBinDerGesuchteWert") ;
        String[] Array=n.split("[abcB]");
        
        for(int i =0; i < Array.length;i++){
        System.out.println(Array[i]);
          
            //System.out.println( s.next() );
                  
                
          }
        }
}


